Performs specific action on particular CollectionChanged event
Syntax
'Declaration
Public Overloads Shared Function ListenCollection
(Of As {Class, INotifyPropertyChanged},
As {Class, INotifyCollectionChanged})( _
ByVal As , _
ByVal As Expression(Of Func(Of TModel,TValue)), _
ByVal As Action(Of NotifyCollectionChangedEventArgs) _
) As IDisposable
public static IDisposable ListenCollection<,>(
,
Expression<Func<TModel,TValue>> ,
Action<NotifyCollectionChangedEventArgs>
)
where TModel: class, INotifyPropertyChanged
where TValue: class, INotifyCollectionChanged
Parameters
- model
- getter1
- action
Type Parameters
- TModel
- TValue
See Also